178a7178098e4361cfdeb8552353f5d8218e56ff,org.eclipse.january.geometry/src/org/eclipse/january/geometry/impl/GeometryImpl.java,GeometryImpl,addNode,#INode#,498
Before Change
public void addNode(INode child) {
// If the node is already in the list or is null, fail silently
if (child != null && !getNodes().contains(child)) {
// Set the child's parent to this
child.setParent(this);
After Change
public void addNode(INode child) {
// If the node is null, fail silently
if (child != null) {
// Fail silently if the node is already in the list
for (INode node : getNodes()) {
if (node == child) {
return;
}
}